package com.java.base.exercise.codereview.util;

/**
 * @Author：RenPu
 * @Package：com.java.base.exercise.codereview.util
 * @Project：spring-cloud-imooc-demo
 * @name：SuccessCodeEnum
 * @Date：2024/4/13 11:43
 * @Filename：SuccessCodeEnum
 */
public enum SuccessCodeEnum implements EnumBase{


    SUCCESS(200, "订单业务处理完成，请继续操作！！！"),
    ;

    private final int code;
    private final String msg;


    SuccessCodeEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    @Override
    public int getCode() {
        return this.code;
    }

    @Override
    public String getMsg() {
        return this.msg;
    }

    @Override
    public Integer getValue() {
        return null;
    }
}
